home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000824-20010305
/
000079_news@columbia.edu _Tue Oct 17 13:12:59 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-03-05
|
6KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA26549
for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 17 Oct 2000 13:12:58 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA10313
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 17 Oct 2000 13:09:38 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA20633
for kermit.misc@watsun.cc.columbia.edu; Tue, 17 Oct 2000 12:52:43 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: No Carrier
Date: 17 Oct 2000 16:52:42 GMT
Organization: Columbia University
Message-ID: <8si04q$k4m$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <zb%G5.34359$Ly1.489095@news5.giganews.com>,
Steve <steve@baus-systems.com> wrote:
: In our DOS app, we call Server from the command line and Kermit does
: terminate when it receives the Finish. All we would like right now is for
: the host in Server mode to not drop the phone line when it receives the
: Finish. I would have thought that there was an AT command or Kermit setting
: that would do this.
:
The Kermit server does not drop the phone line when it gets a FINISH. The
reason the phone line drops is that the next command after SERVER in your
script is EXIT (implied or explicit -- e.g. because the script was invoked
from the command line, so Kermit exits when the script is finished). Replace
that with something along the lines that Jeff suggested and you'll be happy.
Jeff suggested:
: > SET CARRIER-WATCH ON
: > SET MODEM TYPE ...
: > SET PORT ...
: > SET FLOW ...
: > WHILE TRUE {
: > ANSWER 0
: > IF SUCCESS {
: > SERVER ; This one is terminated by the FINISH
: > SERVER ; This one is terminated by the connection loss
: > }
: > HANGUP
: > }
- Frank
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA28958
for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 19 Oct 2000 13:39:43 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA15101
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 19 Oct 2000 13:39:42 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA13063
for kermit.misc@watsun.cc.columbia.edu; Thu, 19 Oct 2000 13:38:16 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: "Steve" <steve@baus-systems.com>
Subject: Re: No Carrier
Message-ID: <9jGH5.66100$bI6.2391998@news1.giganews.com>
Organization: Giganews.Com - Premium News Outsourcing
Date: Thu, 19 Oct 2000 17:37:09 GMT
To: kermit.misc@columbia.edu
A little clarification. In our DOS server program, we do have server in a
loop and we call server from a command line. Here is streamlined psuedo
code of the host app:
Do While True
'rem Loop to get client ID file
Do while True
'rem Wait for ClientID file
Kermit Server
If File(ClientID)
Exit Do
End IF
EndDo
ChangeToClientSpecificDirectory(ClientID#)
CompressFilesGoingToClient(ClientID#)
Kermit Send ClientUpdateFile
'rem Server mode to receive client data files
Kermit Server
ProcessClientDataFiles(ClientID#)
End Do
We have a Windows version of this written in VB working fine with non modem
serial cable file transfers. The tricky part was having the VB app wait
until the Kermit server has terminated at which point we check for files,
process files or whatever needs to happen. The problem is if we are going
over a modem, the phone line is dropped when we exit K95. If we do not exit
K95, we end up with a window with a K95 prompt. If there was a way for me
to issue commands to that K95 prompt so it could send files or go back in
server mode that may resolve this until we can re think the whole process.
Steve
Jeffrey Altman <jaltman@watsun.cc.columbia.edu> wrote in message
news:8si04s$k4q$1@newsmaster.cc.columbia.edu...
> In article <zb%G5.34359$Ly1.489095@news5.giganews.com>,
> Steve <steve@baus-systems.com> wrote:
> : In our DOS app, we call Server from the command line and Kermit does
> : terminate when it receives the Finish. All we would like right now is
for
> : the host in Server mode to not drop the phone line when it receives the
> : Finish. I would have thought that there was an AT command or Kermit
setting
> : that would do this.
> :
> : Steve
> :
>
> The connection will not be dropped when the FINISH is received if:
>
> . K95 does not terminate
>
> . HANGUP is not issued
>
> . CLOSE CONNECTION is not issued
>
> Your original script was
>
> ....
> SERVER
> EXIT
>
> Hence, when the SERVER command completes due to the receipt of the FINISH
> command from the client, the EXIT command is executed which causes K95
> to terminate, the modem to be hungup, and the communications device to
> be closed. That is why I have suggested using the WHILE construct to
> ANSWER multiple calls if that is what you want; or to use multiple SERVER
> commands.
>
> I don't see how your clients are working with MS-DOS Kermit as the SERVER
> if the clients always issue a FINISH upon establishing a connection; and
> the MS-DOS Kermit script only contains a single SERVER command which is
> not in a loop of some sort.
>
>
> Jeffrey Altman * Sr.Software Designer
> The Kermit Project * Columbia University
> 612 West 115th St * New York, NY * 10025 * USA
> http://www.kermit-project.org/ * kermit-support@kermit-project.org